<?php


namespace app\controller;

use app\Request;
use \app\service\articleDiscussService;
use think\response\Json;

class Discuss
{
    // 添加评论
    public function index(Request $request):Json
    {
        $data = $request->post();
        return articleDiscussService::addDiscuss($data);
    }
}